<template>
	<view class="container">
		<view class="logo"><image src="/static/zhifa.png"></image></view>
		<view class="name">城市执法</view>
		<view class="version">V{{Version}}</view>
		<view class="copyright">
			<text space="ensp">商城快线  版权所有</text>
			<text space="nbsp" class="rights">Copyright © 2014-{{Year}} Mingen All Rights Reserved.</text>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				Size:'',
				Year:'',
				Version:''
			}
		},
		onLoad() {
			this.Year=new Date().getFullYear();
			this.Get_Version();
		},
		methods:{
			Get_Version(){
				plus.runtime.getProperty(plus.runtime.appid,(wgtinfo)=>{
					this.Version=wgtinfo.version;
				});
			},
		}
	}
</script>

<style lang="scss">
	page{background-color: #ffffff; padding-top:100rpx;}
	.logo{width:140rpx; height:140rpx; margin:0 auto;
		image{width:140rpx; height:140rpx;}
	}
	.name{width:100%; height:60rpx; margin-top:20rpx; text-align: center; font-size:40rpx; font-weight: bold;}
	.version{width:100%; height:40rpx; margin-top:20rpx; text-align: center; font-size:30rpx; color:$uni-tip-color;}
	.copyright{position: absolute; bottom:20rpx; width:100%; height:auto; text-align: center; display: flex; flex-direction: column;
		text{height:40rpx; line-height: 40rpx; color:$uni-tip-color;}
		.rights{font-size:24rpx;}
	}
</style>
